/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.hbrs.ooka.beans;

import de.hbrs.ooka.entities.PaperEntity;
import de.hbrs.ooka.entities.UserEntity;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author student
 */
@Local
public interface PaperBeanStatelessLocal {

    public PaperEntity getPaper(int id);

    public PaperEntity getPaper(String name);

    public PaperEntity uploadPaper(PaperEntity paper);

    public boolean updatePaper(PaperEntity paper);

    public PaperEntity checkFile(String filepath, UserEntity author);

    public void reviewPaper(UserEntity reviewer, String paper, int grade, boolean passed, String reasons);

    public List<PaperEntity> getAllPapers();

    public void assignToReviewer(UserEntity user, String parameter);
}
